<!DOCTYPE html>
<html lang="en" xmlns:v-bind="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="../../js/vue/vue.js"></script>
</head>
<body>

<!-- 页面模板 -->
<div id="app">
    <div>
        {{msg}}
    </div>

    <div v-html="msg"></div>
</div>
<script>
    var app = new Vue({
        el:'#app',
        data:{
            msg:"<span style='color: red;'>这就是html格式数据</span>"
        }
    })
</script>
</body>
</html>